/*
 * forecast.h
 *
 *  Created on: 2009-8-10
 *      Author: wyb
 */

#ifndef FORECAST_H_
#define FORECAST_H_

#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "fft.h"
#include "ar_model.h"
#include "util.h"
#include "xengine_mysql.h"

//历史数据的间隔
#define HISTORY_INTERVAL 1.0
//预测的间隔
#define FORECAST_INTERVAL 5.0

double forecast(char *app_name);

#endif /* FORECAST_H_ */
